home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo / UAppFrameAdorner.h < prev    next >
Encoding:
Text File  |  1995-02-13  |  826 b   |  40 lines  |  [TEXT/MPS ]

  1. //     Copyright © 1992 Apple Computer, Inc. All rights reserved.
  2. //     UAppFrameAdorner.h
  3. //    Kent Sandvik DTS
  4. //    This file contains the TAppFrameAdorner class, the simple frame 
  5. //    adornment in the window
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. #ifndef __UAPPFRAMEADORNER__
  13. #define __UAPPFRAMEADORNER__
  14.  
  15. #ifndef __UADORNERS__
  16. #include <UAdorners.h>
  17. #endif
  18.  
  19. #ifndef __INCLUDEFILES__
  20. #include <IncludeFiles.h>
  21. #endif
  22.  
  23. // a simple adorner, that just draws a nice frame inside the document itself
  24. DeclareClassDesc(TAppFrameAdorner);
  25.  
  26. class TAppFrameAdorner : public TAdorner
  27. {
  28.  
  29.     DeclareClass(TAppFrameAdorner);
  30.  
  31. public:
  32.     TAppFrameAdorner();
  33.     virtual      void Draw(TView* itsView,
  34.                              const VRect&        /*area*/);
  35. };
  36.  
  37.  
  38.  
  39. #endif
  40.